package com.day1013.morning;

public class MainTicket1 {
    public static void main(String[] args) {
        TicketThread1 ticketThread1 = new TicketThread1();
        Thread huang = new Thread(ticketThread1);
        Thread tao = new Thread(ticketThread1);
        huang.setName("黄牛");
        huang.start();
        tao.setName("淘票票");
        tao.start();
    }
}
